Setup action-translation v0.11.0 infrastructure#67
Merged
Conversation
- status.md: added missing GPU access and JAX backend sections - python_by_example.md: restored missing index directives and doc links
- 4 files: new heading-maps generated (about_py, functions, getting_started, python_by_example) - 19 files: updated from slug-based to full heading text with :: nesting - 2 files: unchanged (intro, status — section-less) - Fix YAML quoting for heading containing colon (python_essentials.md)
- .translate/config.yml: source=en, target=fa, docs=lectures, tool-version=0.11.0 - .translate/state/: 25 state files tracking source commit SHAs - .github/workflows/review-translations.yml: Claude quality review on translation PRs State verified via --check-sync before --write-state (v0.11.0 safeguard)
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up action-translation v0.11.0 infrastructure for automated sync with the English source repo. This replaces the closed PR #66, using the new v0.11.0 safeguards to properly verify sync state before bootstrapping.
Process followed
This PR was created following the Connect an Existing Target tutorial with the new v0.11.0 safeguards:
--check-sync) — verified all 25 files against source:I18N_ONLY(faithful translations)TARGET_HAS_ADDITIONS(extra explanatory content in Farsi — preserved)CONTENT_CHANGES(status.md missing GPU/JAX sections, python_by_example.md missing directives)IDENTICALpython_essentials.md.translate/metadata (safeguard verified source dates)Changes
Commit 1: Resync stale translations
status.md: added missing GPU access and JAX backend check sectionspython_by_example.md: restored missing{index}directives and{doc}cross-referencesCommit 2: Update heading-maps
::nestingCommit 3: Bootstrap metadata + workflow
.translate/config.yml— links to source repo, target language fa, docs folder lectures.translate/state/*.yml— 25 state files tracking source commit SHAs.github/workflows/review-translations.yml— Claude quality review on translation PRsNotable findings from --check-sync
sympy.md— target fixes a bug:factorial(n-r)→factorial(n-x)(undefined variable). Consider backporting.about_py.md,getting_started.md,intro.md,oop_intro.md— target has extra explanatory content added by translators. These additions are preserved.getting_started.md— has some content drift (wrong conda command, outdated URLs). May want to forward-resync after merge.Next steps
After merging this PR:
ANTHROPIC_API_KEYsecret tolecture-python-programming.farepo settingslectures/**/*.mdwill auto-create translation PRs here